<?php
echo ! empty($h2_title) ? '<h2>'. $h2_title .'</h2>' : '' ;
echo ! empty($message) ? '<p class="message">'. $message .'</p>' : '' ;

$flashmessage = $this->session->flashdata('message');
echo ! empty($flashmessage) ? '<p class="message">'. $flashmessage .'</p>' : '';

echo ! empty($pagination) ? '<p id="pagination>">'. $pagination .'</p>' : '';
?>
<form name="pilih_bobot" method="post" action="<?php echo $action; ?>">
<?php
echo ! empty($table) ? $table : '' ;
?>
<tr>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td align="center"><input type="submit" name="submit" id="reset" value=" Proses " /><input type="reset" name="reset" id="reset" value=" Reset " /></td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
<?php
if (! empty($link)) {
	echo '<p class="bottom_link">';
	foreach($link as $links){
		echo $links .  '';
	}
	echo '</p>';
}
?>